#include "log_file_output.h"
#include <iostream>
#include <string>

using namespace std;

bool LogFileOutput::OpenFile(const string& file_name)
{
	ofs_.open(file_name, ios::app);
	if (ofs_.is_open())return true;
	return false;
}

void LogFileOutput::Output(const string& log)
{
	ofs_ << log << "\n";
}